package com.woniuxy.springparking.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.management.relation.Role;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "Permission",description = "页面模块信息")
public class Permission implements Serializable{
    @ApiModelProperty(value = "模块主键")
    private Integer id;
    @ApiModelProperty(value = "用户id")
    private Integer pid;
    @ApiModelProperty(value = "模块类型")
    private String type;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "图标")
    private String icon;
    @ApiModelProperty(value = "链接")
    private String href;
    @ApiModelProperty(value = "状态")
    private String open;
    private List<Role> roles;
}


